-- GENERATED SPELL FOR [Firelord] --


function spell0_11668(pUnit, Event) --@Summon Lava Spawn,Self--
pUnit:FullCastSpellOnTarget(19392,pUnit)
pUnit:RegisterEvent('Sorts_11668', 584, 1)
end

function Sorts_11668(pUnit, Event)
local choix_sorts_11668 = math.random(0, 0)
if choix_sorts_11668 == 0 then
pUnit:RegisterEvent('spell0_11668', 1, 1)
end
end

function mob11668_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11668', math.random(1500, 3000), 1)
end

function mob11668_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11668_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11668_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11668, 1, 'mob11668_Action')
RegisterUnitEvent(11668, 2, 'mob11668_Leave')
RegisterUnitEvent(11668, 3, 'mob11668_Kill')
RegisterUnitEvent(11668, 4, 'mob11668_Die')
